package com.drone.drone_server.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.drone.drone_server.entity.*;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

// 人员职位DAO
public interface PersonPositionDao extends BaseMapper<PersonPosition> {
    @Select("SELECT * FROM person_position WHERE position = #{position}")
    List<PersonPosition> selectByPosition(@Param("position") String position);
}